package com.meichis.yndms.hybrid;

public class CallbackContext {
	private String FUNCCallBack;
	private String ControlID;
	private MCWebView webView;

	public CallbackContext(String FUNCCallBack, String ControlID, MCWebView webView) {
		this.FUNCCallBack = FUNCCallBack;
		this.ControlID = ControlID;
		this.webView = webView;
	}

	public String getCallbackId() {
		return FUNCCallBack;
	}
	
	public String getControlID(){
		return ControlID;
	}
	public void sendResult(Object result) {
			webView.sendResult(result, FUNCCallBack, ControlID);
	}

}
